package com.xyoto.community.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.DecimalMin;
import javax.validation.constraints.NotBlank;

@Data
@ApiModel("新增问答评论回复实体")
public class SaveQuestionCommentReplyDTO {

    @ApiModelProperty("问答评论id")
    @DecimalMin(value = "1",message = "问答评论id不能小与1")
    private Integer questionCommentId;

    @ApiModelProperty("回复内容")
    @NotBlank(message = "回复内容不能为空")
    private String content;

}
